package com.gnkexy.springframework.test.event;

import com.gnkexy.springframework.context.ApplicationListener;

public class CustomEventListener implements ApplicationListener<CustomEvent> {

    @Override
    public void onApplicationEvent(CustomEvent event) {
        System.out.println("收到"+event.getSource()+"消息："+event.getId()+" :"+event.getMassage());
    }
}
